package com.ycz.algorithm.utils.linkedlist;

/**
 * @Description  链表节点类
 * @ClassName ListNode
 * @Author yanchengzhi
 * @date 2024.11.14 19:18
 */
public class ListNode {

    public int val; // 值

    public ListNode next; // 指向下一节点的引用

    public ListNode(int x) {
        this.val = x;
    }

}
